
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_java_awt_peer_qt_QtImageConsumer__
#define __gnu_java_awt_peer_qt_QtImageConsumer__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace awt
      {
        namespace peer
        {
          namespace qt
          {
              class QtImage;
              class QtImageConsumer;
          }
        }
      }
    }
  }
  namespace java
  {
    namespace awt
    {
      namespace image
      {
          class ColorModel;
          class ImageProducer;
      }
    }
  }
}

class gnu::java::awt::peer::qt::QtImageConsumer : public ::java::lang::Object
{

public:
  QtImageConsumer(::gnu::java::awt::peer::qt::QtImage *, ::java::awt::image::ImageProducer *);
  virtual void imageComplete(jint);
  virtual void setColorModel(::java::awt::image::ColorModel *);
  virtual void setDimensions(jint, jint);
  virtual void setHints(jint);
  virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jbyte > *, jint, jint);
  virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jint > *, jint, jint);
private:
  JArray< jint > * convertPixels(JArray< jbyte > *);
public:
  virtual void setProperties(::java::util::Hashtable *);
private:
  ::gnu::java::awt::peer::qt::QtImage * __attribute__((aligned(__alignof__( ::java::lang::Object)))) target;
  jint width;
  jint height;
  ::java::util::Hashtable * properties;
  JArray< jint > * pixelCache;
  ::java::awt::image::ImageProducer * source;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_java_awt_peer_qt_QtImageConsumer__
